Mac Linux命令总结

查看某个端口运行的程序

lsof -i :端口号

-i参数表示网络链接,该命令会同时列出PID,然后配合kill -9 PID值结束程序即可

results matching ""

    No results matching ""